package com.zy.stock.domain;

import java.util.Date;

/**
 * 交易提醒
 * @author zhangyi
 *
 */
public class Alert {
	
	private Integer id;
	
	private Integer userId;//关联账户id
	
	private Integer stockId;//关联股票id
	
	private Integer stockName;//关联股票名称
	
	private String stockCode;//关联股票编码
	
	private String difference;//价差比例
	
	private Double alertValue;//预警价
	
	private Double todayValue;//今日收盘价
	
	private String operation;//相关操作类型 相关操作类型 1 建仓 2 首次补仓 3 二次补仓 4 卖出（为以后考虑预留）
	
	private Integer operateNum;//操作数量
	
	private Integer status;//提醒状态 0 未处理 1 处理中 2 已完成
	
	private Date createTime;
	
	private Date updateTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getStockId() {
		return stockId;
	}

	public void setStockId(Integer stockId) {
		this.stockId = stockId;
	}

	public Integer getStockName() {
		return stockName;
	}

	public void setStockName(Integer stockName) {
		this.stockName = stockName;
	}

	public String getStockCode() {
		return stockCode;
	}

	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}

	public String getOperation() {
		return operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

	public Integer getOperateNum() {
		return operateNum;
	}

	public void setOperateNum(Integer operateNum) {
		this.operateNum = operateNum;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDifference() {
		return difference;
	}

	public void setDifference(String difference) {
		this.difference = difference;
	}

	public Double getAlertValue() {
		return alertValue;
	}

	public void setAlertValue(Double alertValue) {
		this.alertValue = alertValue;
	}

	public Double getTodayValue() {
		return todayValue;
	}

	public void setTodayValue(Double todayValue) {
		this.todayValue = todayValue;
	}
}
